<link rel="stylesheet" type="text/css" media="screen" href="css/administration.css" />
<div class="main_body">
<div class="top_menu">
	<strong>Administracija Banaka </strong>
	<div class="kategorija_listbox"></div>
	<div class="top_navigacija">
		<span id="top_izvestaj" name="top_izvestaj">{{$top_izvestaj}}</span>Nađeno je {{$broj_polja}} unosa na {{$broj_strana}} &nbsp;strana. {{$link_pocetno}} {{$link_prethodno}} {{$link_strane}} {{$link_sledece}} {{$link_poslednje}} 
	</div>
	
	<div id="top_tools">
	<input type="button" onclick="new_Banke()" value="Dodaj polje" />
	<input type="hidden" value="{{$broj_polja_na_strani}}" id="broj_polja_na_strani" />
	</div>
</div><br clear="all" />
<!------------NEW START--------------------->
<form class="area" id="polje_new" style="display:none;">
	<div class="polje_item">
		&nbsp;<input id="polje_name_new" type="text" value="" onchange="" />
		&nbsp;<input id="polje_adr_new" type="text" value="" onchange="" />
		&nbsp;<input id="polje_zracun_new" type="text" value="" onchange="" />
		<br class="all" />
		<a id="save_{{$polje_id}}" href="javascript:void(0);" onclick="add_Banke();" title="kliknite da sačuvate nov unos">Sačuvaj</a>
	</div>
</form>
<!-------------NEW END-------------------->
<form class="area" id="glavnaForma">
<div class="polje_legend">
	<div class="polje_legend_item_id">ID</div>
	<div class="polje_legend_item">Šifra</div>
	<div class="polje_legend_item">Banka</div>
	<div class="polje_legend_item" style="width:250px;">Adresa</div>
	<div class="polje_legend_item" style="width:170px;">Žiro račun </div>
	<div class="polje_legend_item" style="width:170px;">Operacija</div>
</div>
<div id="polje_lista">
	{{%loop start polje_id}}
<div class="polje_item" title="{{$polje_name}}">
	<input type="hidden" value="{{$polje_id}}" id="polje_id_{{$polje_id}}" />
	<input type="hidden" id="r_{{$polje_id}}" value="0" />
	<input name="text" type="text" disabled="disabled" style="width:40px; text-align:center" value="{{$polje_id}}" />
	<input id="polje_name_{{$polje_id}}" type="text" disabled="disabled" value="{{$polje_name}}" title="{{$polje_name}}" onchange="" />
	<input id="polje_adr_{{$polje_id}}" type="text" size="45" disabled="disabled" title="{{$polje_adr}}" onchange="" value="{{$polje_adr}}" />
	<input style="text-align:center" id="polje_zracun_{{$polje_id}}" type="text" size="25" disabled="disabled" title="{{$polje_zracun}}" onchange="" value="{{$polje_zracun}}" />
	<div class="item_tools">
		<a id="delete_{{$polje_id}}" href="javascript:void(0);" onclick="del_Banke('{{$polje_id}}');" title="kliknite da izbrišete polje: {{$polje_name}}" style="display:none">
			<img src="gui/icons/delete_14.gif" alt="" />
		</a>
		<a id="save_{{$polje_id}}" href="javascript:void(0);" onclick="saveChanges_Banke('{{$polje_id}}');" title="kliknite da sačuvate izmene na polju: {{$polje_name}}" style="display:none">
			<img src="gui/icons/save.gif" alt="" />
		</a>
		<a id="edit_{{$polje_id}}" href="javascript:void(0);" onclick="changeEdit_Banke('{{$polje_id}}');" title="kliknite za izmenu polja: {{$polje_name}}" >
			<img src="gui/icons/edit.gif" alt="" />
		</a>
	</div>
</div>
	{{%loop end}}
</div>
</form>